/* SETUP */

@import
  "url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400",
  "700')";

body,
html {
  margin  : 0;
  padding : 0;
  overflow-x: hidden;
}

html {
  box-sizing : border-box;
}

html *,
html *:after,
html *:before {
  box-sizing : inherit;
}

::selection {
  background : rgb(32, 138, 252, 0.6);
  /* WebKit/Blink Browsers */
}

::-moz-selection {
  background : rgb(32, 138, 252, 0.6);
  /* Gecko Browsers */
}

/* FONTS */
.header{
  background: -moz-linear-gradient(180deg, rgba(39	,48	,98,1) 0%, rgba(0,0,0, .1) 100%); /* ff3.6+ */
background: -webkit-linear-gradient(180deg, rgba(39	,48	,98,1) 0%, rgba(0,0,0, .1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(180deg, rgba(39	,48	,98,1) 0%, rgba(0,0,0, .1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(180deg, rgba(39	,48	,98,1) 0%, rgba(0,0,0, .1) 100%); /* ie10+ */
background: linear-gradient(180deg, rgba(39	,48	,98,1) 0%, rgba(0,0,0, .1) 100%); /* w3c */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#627AF5',GradientType=1 ); /* ie6-9 */
}

body {
  margin-top: -20px;
  max-width        : 1500px;
  color            : #e0e0e0;
  background-color : #0b0b0b;
  font-family      : 'System-UI','Source Sans Pro',
                     sans-serif;
  line-height: 1.5em;
}

/* MENU */

nav ul {
  display         : flex;
  width           : 100%;
  padding         : 7em 0;
  justify-content : center;
}

nav li {
  padding    : 0 2.5em;
  list-style : none;
}

nav li a {
  color              : #7a7a7a;
  text-decoration    : none;
  -moz-transition    : color 1s ease-out;
  -o-transition      : color 1s ease-out;
  -webkit-transition : color 1s ease-out;
  transition         : color 1s ease-out;
}

nav li a:hover {
  color  : #627AF5;
  cursor : pointer;
}

/* INTRO TEKST */

article.intro {
  padding : 10em 25%;
}
article.intro p {
  /* padding-bottom: 1rem;
  border-bottom: 10px solid #F5DD62;
  border-radius: 5px; */
}

/* article.intro:before {
  content    : "";
  display    : block;
  width      : 100px;
  height     : 20px;
  margin     : 0 0 -70px -110px;
  background : #627AF5;
}

article.intro:after {
  content      : "";
  display      : inline-block;
  width        : 45px;
  height       : 80px;
  float        : right;
  margin-right : 40px;
  background   : #A48EFC;
} */

/* HEADINGS */

h1 {
  display         : flex;
  padding         : 2em 0 0 0;
  color           : #627AF5;
  font-size       : 2em;
  justify-content : center;
  line-height: 1.25em;
}

h2 {
  display   : flex;
  color     : white;
  font-size : 1.5em;
}

h3 {
  color      : #A48EFC;
  text-align : center;
  font-size  : 1.2em;
}

/* ABOUT */

section.about {
  display         : flex;
  flex-wrap       : wrap;
  justify-content : center;
}

.about article {
  min-width : 20em;
  max-width : 20em;
  padding   : 0 2em;
}

aside p {
  float : left;
}

/* VISUALIZATION */

section.visualization {
  display : flex;
  margin  : 10px 0;
  padding : 50px;
}

section.visualization:nth-of-type(even) {
  background-color : #1c1c1c;
}

.logo {
  z-index  : 10;
  position : fixed;
  top      : 10px;
  left     : 10px;
}

.pieChartsHeight {
  /* height: -webkit-fill-available; */
}

.visual-work {
  width : 65%;
  /* background : #303030; */
}
body > section:nth-of-type(2) {
  padding-top: 5rem;
  position: relative;
}
body > section:nth-of-type(2) h1 {
  position: absolute;
  top: -3rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.summary {
  width       : 25%;
  margin-left : 5em;
}

/* TEAM */

section.team {
  display         : flex;
  margin-bottom   : 100px;
  justify-content : center;
}

.team article {
  padding : 1em 3em;
}

.team img {
  max-height : 8em;
}

.team article h3,
.team article p {
  text-align : center;
}

.visualTitelText {
  width      : 100%;
  max-width  : 600px;
  margin     : 0 auto;
  text-align : center;
}

path {
  opacity    : 1;
  transition : opacity .15s ease;
}

svg {
  /* background : black; */
  transition : all .5s ease,
               left .5s ease .1s;
}


/* path {
  opacity    : 1;
  transition : opacity .15s ease;
  -webkit-box-shadow: 10px 10px 0px 200px rgba(252,0,252,1);
-moz-box-shadow: 10px 10px 0px 200px rgba(252,0,252,1);
box-shadow: 10px 10px 0px 200px rgba(252,0,252,1);
}

svg {
  transition : all .5s ease,
               left .5s ease .1s;
} */

#pieCharts {
  /* height: 500px; */
  /* border: solid 3px green; */
  /* position: relative; */
  display         : flex;
  /* background      : black; */
  flex-direction  : column;
  justify-content : flex-end;
}

#pieCharts header {
  /* background-color: #303030; */
  height : 350px;
}

#pieCharts section {
  /* background: #303030; */
  position : relative;
  padding  : 1rem 1rem 0 1rem;
}

#pieCharts section svg {
  /* margin: .5rem 1rem; */
  margin-right  : 1rem;
  margin-bottom : 1rem;
  border-radius: 100%;
}

#pieCharts svg.mainPie {
  /* position: absolute; */
  /* top: 100%; */
  left: calc(50% - 150px);
  /* right: 0;
  margin: 0 auto;  */
  /* left             : 1rem; */
  transform        : scale(3);
  transform-origin : bottom left;
}

#pieCharts svg text.pieCountryLabel {
  /* .attr("text-anchor", "middle") */
  text-anchor: middle;

}

#pieCharts svg:not(.mainPie) g text:not(.pieCountryLabel) {
  transform : scale(0);
}

#pieCharts svg.mainPie g text:not(.pieCountryLabel) {
  transform : scale(1);
}

.toolTip {
  height: auto;
  transform: scale(0);
  background: rgba(0,0,0,.9);
  padding: 1rem;
  color: #627AF5;
  border-radius: 0 10px 10px 10px;
  animation-name: popIn;
  animation-duration: .2s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  transform-origin: top left;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0)
  }
  100% {
    opacity: 1;
    transform: scale(1)
  }
}

.toolTip p {
  margin: 0;
}

.toolTip p:not(:last-of-type) {
  margin-bottom: .5rem;
}
.toolTip strong,
.toolTip h3 {
  color: white;
}

.toolTip h3 {
  border-top: solid 1px rgba(255,255,255,.5);
  padding-top: .5rem;
  margin: .75rem 0;
}

.toolTip ol {
  width: 100%;
  padding: 0 1rem;
  margin: 0;
}

.toolTip ol li:not(:last-of-type) {
  margin-bottom: .25rem;
}


.animationStarted {
  animation-duration        : .2s;
  animation-fill-mode       : forwards;
  animation-name            : grow;
  animation-timing-function : ease;
}

@keyframes grow {
  0% {
    transform : scale(1) translateY(0);
  }

  50% {
    transform : scale(1.1) translateY(-10%);
  }

  100% {
    transform : scale(1) translateY(0);
  }
}
.relativevisual{
  position: relative;
}
.sliderHolder{
  position: fixed;
  z-index: 500;
  top: 50px;
  bottom: 0;
  right: 50px;
  margin: 0 auto;
}
#slider{
  transform: rotate(90deg);
  top: 100px;
  position: absolute;
}
.centerIntro {
  display  : flex;
  position : relative;
  height   : 50px;
}

.Iam {
  margin : 0 auto;
  color  : white;
  font   : bolder 40px/50px Montserrat,
           sans-serif;
  /* font-weight: bolder; */
}

.Iam p {
  height       : 50px;
  float        : left;
  margin-right : 0.3em;
}

.Iam b {
  position : relative;
  top      : 40px;
  height   : 50px;
  float    : left;
  overflow : hidden;
}

.Iam .innerIam {
  display                           : inline-block;
  position                          : relative;
  top                               : 0;
  left                              : 0;
  color                             : #627AF5;
  white-space                       : nowrap;
  -moz-animation                    : move 5s;
  -ms-animation                     : move 5s;
  -o-animation                      : move 5s;
  -webkit-animation                 : move 5s;
  animation                         : move 5s;
  -moz-animation-delay              : 1s;
  -ms-animation-delay               : 1s;
  -o-animation-delay                : 1s;
  -webkit-animation-delay           : 1s;
  animation-delay                   : 1s;
  -moz-animation-iteration-count    : infinite;
  -ms-animation-iteration-count     : infinite;
  -o-animation-iteration-count      : infinite;
  -webkit-animation-iteration-count : infinite;
  animation-iteration-count         : infinite;
  /* animation */
  /* animation-iteration-count */
  /* animation-delay */
}

@keyframes move {
  0% {
    top : 0px;
  }

  20% {
    top : -50px;
  }

  40% {
    top : -100px;
  }

  60% {
    top : -150px;
  }

  80% {
    top : -200px;
  }
}

@-webkit-keyframes move {
  0% {
    top : 0px;
  }

  20% {
    top : -50px;
  }

  40% {
    top : -100px;
  }

  60% {
    top : -150px;
  }

  80% {
    top : -200px;
  }
}

@-moz-keyframes move {
  0% {
    top : 0px;
  }

  20% {
    top : -50px;
  }

  40% {
    top : -100px;
  }

  60% {
    top : -150px;
  }

  80% {
    top : -200px;
  }
}

@-o-keyframes move {
  0% {
    top : 0px;
  }

  20% {
    top : -50px;
  }

  40% {
    top : -100px;
  }

  60% {
    top : -150px;
  }

  80% {
    top : -200px;
  }
}

@keyframes move {
  0% {
    top : 0px;
  }

  20% {
    top : -50px;
  }

  40% {
    top : -100px;
  }

  60% {
    top : -150px;
  }

  80% {
    top : -200px;
  }
}
